package com.ruoyi.mas.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师信息对象 mas_teacher
 * 
 * @author xiaotang
 * @date 2022-03-22
 */
public class MasTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教师顺序 */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 教师工号 */
    @Excel(name = "教师工号")
    private Long numberId;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String teacherName;

    /** 教师学科 */
    @Excel(name = "教师学科")
    private String subjectName;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setNumberId(Long numberId) 
    {
        this.numberId = numberId;
    }

    public Long getNumberId() 
    {
        return numberId;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setSubjectName(String subjectName) 
    {
        this.subjectName = subjectName;
    }

    public String getSubjectName() 
    {
        return subjectName;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("numberId", getNumberId())
            .append("teacherName", getTeacherName())
            .append("subjectName", getSubjectName())
            .append("gender", getGender())
            .toString();
    }
}
